GDK W32: send a DELETE selection when using LOCAL selection protocol
authorРуслан Ижбулатов <lrn1986@gmail.com>
Tue, 13 Mar 2018 18:21:50 +0000 (18:21 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Tue, 13 Mar 2018 18:21:50 +0000 (18:21 +0000)
commit577f1a992e9cf2c2ad6a6310b446541c72e991e9
tree2d940975b828868b8b3b4ec0eba40facdb7f7f8f
parenta2efd3f3dc3e89e43b16e92dae2eabdd3b24f290
GDK W32: send a DELETE selection when using LOCAL selection protocol

This was not needed before, but now it seems to be necessary for
some reason. The code is just an adjusted copy of the appropriate
piece of the OLE2 protocol code, sending GDK_SELECTION_REQUEST.

The rest is just fixing the fallout, allowing LOCAL protocol to pass
the functions it wasn't supposed to pass before.

Closes #82
gdk/win32/gdkdnd-win32.c
gdk/win32/gdkproperty-win32.c
gdk/win32/gdkselection-win32.c